package day03;

public class lfElseDemo {
    public static void main(String[] args) {
           int a=5;
           if (a>=10 && a>=20){
               System.out.println(2);
           }else {
               System.out.println(1);
           }
           double money=888.8;
           if   (money>=500 )
                {money*=0.8; }
           else { money*=0.9;}
        System.out.println(money);
    }
}
